package com.zhejiangzhengyuan.municipal_common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhejiangzhengyuan.municipal_common.entity.RoadGis;
import com.zhejiangzhengyuan.municipal_common.entity.dto.FileDto;
import com.zhejiangzhengyuan.municipal_common.entity.vo.RoadVo;

/**
 * <p>
 * GIS数据库中道路表（一路一档建设） 服务类
 * </p>
 *
 * @author linju
 * @since 2019-11-22
 */

public interface RoadGisService extends IService<RoadGis> {

    IPage<RoadGis> page(Long pageNo, Long pageSize);

    int updateRoad(RoadGis roadGis);

    int saveRoad(RoadGis roadGis);

    RoadGis findPointByRoad(String startPoint, String endPoint);

    int updateRoadFile(FileDto dto);

    IPage<RoadVo> selectAllRoad(Page<RoadVo> roadVoPage);
}
